Fix 'wrong-type-argument' in 'php-ts-mode--webserver-read-args'
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sat, 15 Jun 2024 16:57:29 +0000 (18:57 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Jun 2024 18:52:45 +0000 (21:52 +0300)
commit13c4fc3dc72d87af89d92f40808cf4f1285eddab
tree05f62b9645acf55603ad0970d84b64cd10d94148
parent0910f6fe3f701caa478d4aa08d9667316050b977
Fix 'wrong-type-argument' in 'php-ts-mode--webserver-read-args'

Prevents php-ts-mode--webserver-read-args from throwing an
error if the current buffer is not associated with a file.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--webserver-read-args):
Use 'default-directory if' the current buffer is not associated
with a file.  (Bug#71574)
(php-ts-mode-run-php-webserver): Fix doc string.
lisp/progmodes/php-ts-mode.el